<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: skyblue;
        }

        nav {
            height: 50px;
            padding: 6px 10px;
            background-color: rgba(0, 0, 0, 0.3);
            display: flex;
        }

        nav h2 {
            font-size: 24px;
            color: white;
        }

        nav input {
            width: 250px;
            height: 35px;
            margin-left: 20px;
        }

        nav button {
            width: 90px;
            height: 35px;
        }


        .content {
            width: 1000px;
            height: 200px;
            background-color: rgba(0, 0, 0, 0.178);
            margin: 100px auto;
            padding: 10px 60px;
            display: flex;
        }

        .content .box .cr h4 {
            color: white;
            font-size: 24px;
            margin-bottom: 10px;
        }

        .content .box .cr div {
            font-size: 16px;
            color: white;
            margin: 2px 0;
        }

        .content .box .cr div span {
            margin: 0 10px;
        }

        .content .box .cr div span:first-child {
            margin-left: 0;
        }


        section ul {
            display: flex;
            justify-content: space-evenly;
        }

        section ul li {
            list-style-type: none;
            width: 150px;
            height: 200px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-color: rgba(0, 0, 0, 0.123);
        }

        section ul li p {
            font-size: 16px;
            color: white;
        }
    </style>
</head>
<body>
    <header>
        <h1>天气预报</h1>
        <div id="weather_search">
            <span><input id="text" type="text" placeholder="请输入您要查询的城市" /></span>
            <span><input id="btn" type="button" value=" 查询天气" /></span>
        </div>
    </header>
    <section>
        <div id="today_container">
            <div>
                <img src="images/weather_icon/1.png" id="today_img" alt="今日天气" />
            </div>
            <div>
                <div class="main_info">
                    <span class="info" id="today_city">城市</span>|
                    <span class="info" id="today_date">201X-XX-XX</span>|
                    <span class="info" id="today_week">星期X</span>|
                    <span class="info" id="today_other">---</span>
                </div>
                <div class="more_info">
                    今日温度：<span class="info" id="today_wd">-----</span>
                    风力：<span class="info" id="today_fl">-----</span>
                    风向：<span class="info" id="today_fx">-----</span>
                    降雨量：<span class="info" id="today_pm">--</span>
                </div>
                <div class="more_info" style="margin-left:150px">
                    紫外线强度：<span class="info" id="today_zwx">---</span>
                    能见度：<span class="info" id="today_xc">---</span>
                    相对湿度:<span class="info" id="today_gm">---</span>
                    降雨概率：<span class="info" id="today_cy">---</span>
                </div>
                <div class="more_info" style="margin-left:150px" >
                    生活指数提示：<span class="info" id="tips">天气暖和，适宜着单层......</span>
                </div>
            </div>
        </div>
       
        <div id="future_container">
            <div class="future_box">
                <img src="images/weather_icon/1.png" alt="天气" />
                <span class="future_info">201X-XX-XX</span>
                <span class="future_info">星期X</span>
                <span class="future_info">--</span><span class="future_info">12-16℃</span>
            </div>
            <div class="future_box">
                <img src="images/weather_icon/3.png" alt="天气" />
                <span class="future_info">201X-XX-XX</span>
                <span class="future_info">星期X</span>
                <span class="future_info">--</span><span class="future_info">12-16℃</span>
            </div>
            <div class="future_box">
                <img src="images/weather_icon/2.png" alt="天气" />
                <span class="future_info">201X-XX-XX</span>
                <span class="future_info">星期X</span>
                <span class="future_info">--</span><span class="future_info">12-16℃</span>
            </div>
            <div class="future_box">
                <img src="images/weather_icon/4.png" alt="天气" />
                <span class="future_info">201X-XX-XX</span>
                <span class="future_info">星期X</span>
                <span class="future_info">--</span><span class="future_info">12-16℃</span>
            </div>
            <div class="future_box">
                <img src="images/weather_icon/5.png" alt="天气" />
                <span class="future_info">201X-XX-XX</span>
                <span class="future_info">星期X</span>
                <span class="future_info">-</span><span class="future_info">12-16℃</span>
            </div>
            <div class="future_box">
                <img src="images/weather_icon/5.png" alt="天气" />
                <span class="future_info">201X-XX-XX</span>
                <span class="future_info">星期X</span>
                <span class="future_info">-</span><span class="future_info">12-16℃</span>
            </div>
        </div>
    </section>
    <script src="lib/jquery.3.6.0.js"></script>
    <script>
        $(function(){
            $('button').click(function(){

            })
        })
    </script>
</body>
</html>